<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>css文本的属性</title>
    <style type="text/css">
        p{
            color:red;
            line-height:30px;
            letter-spacing: 20px;/*字符间距*/
            background-color: silver;
            width:500px;
            height:500px;
            text-align: center;
            text-decoration: line-through black;
            font-size: 28px;
            white-space:nowrap;
            direction: ltr;
        }
        div.one
        {
            direction: rtl
        }
        div.two
        {
            direction: ltr
        }
    </style>
</head>
<body>
<p>hello,world  北京 <br>hello,world  北京 <br></p>
<div style="text-indent: 2em">你好吗你好吗你好吗你好吗你好吗你好吗你好吗你好吗你好吗你
    好吗你好吗你好吗你好吗你好吗你好吗你好吗你好吗你好吗你
    好吗你好吗你好吗你好吗你好吗你好吗你好吗你好吗你好吗你
    好吗你好吗你好吗你好吗你好吗你好吗你好吗你好吗你
    好吗你好吗你好吗你好吗你好吗你好吗你好吗你好吗你好吗
    你好吗你好吗你好吗你好吗你好吗</div>
<div style="text-transform: uppercase;word-spacing:30px;">
    ajkljlkjkl;jj k;j;j &nbsp;&nbsp;&nbsp;jkljklj

</div>
<div class="one">Some text. Right-to-left direction.</div>
<div class="two">Some text. Left-to-right direction.</div>
</body>
</html>